package com.logictech.activity.system.dao;

import com.logictech.activity.system.entity.Auth;
import com.logictech.activity.system.entity.SystemAuth;
import com.logictech.activity.system.entity.Menu;
import com.logictech.activity.system.entity.MenuFunction;
import java.util.List;
import org.jeecgframework.p3.core.utils.common.PageQuery;
import org.jeecgframework.p3.core.utils.persistence.GenericDao;

public abstract interface SystemAuthDao extends GenericDao<SystemAuth> {
	public abstract Integer count(PageQuery<SystemAuth> paramPageQuery);

	public abstract List<SystemAuth> queryPageList(PageQuery<SystemAuth> paramPageQuery, Integer paramInteger);

	public abstract List<MenuFunction> queryMenuAndFuncAuth();

	public abstract List<MenuFunction> queryMenuAndFuncAuthByRoleId(String paramString);

	public abstract Menu queryMenuByAuthId(String paramString);

	public abstract void deleteRoleAuthRels(String paramString);

	public abstract void insertRoleAuthRels(String paramString1, String paramString2);

	public abstract List<Menu> queryMenuByUserIdAndParentAuthId(String paramString1, String paramString2);

	public abstract List<Auth> queryAuthByUserId(String paramString);

	public abstract List<Auth> queryAuthByAuthContr(String paramString);

	public abstract List<Auth> queryAuthByUserIdAndAuthContr(String paramString1, String paramString2);
	
	void deleteRolesByRoleId(String roleId);
}

